package cn.edu.ujn.booksshop.service;

import cn.edu.ujn.booksshop.dao.Book;
import cn.edu.ujn.util.Page;

public interface IBookService {
	// bookMangment.jsp查找所有book
	Page<Book> selectAll(Integer page, Integer rows);
	
    Integer selectCount();

    // bookMangment.jsp删除book
	int deleteByPrimaryKey(Integer id);
	
	//增加book
    int insertSelective(Book row);
    //
	int updateByPrimaryKeySelective(Book bookDao);
	
    Book selectByPrimaryKey(Integer bookid);
	
	
}
